package com.dotdashdot.pocketquest;

import java.lang.reflect.Method;

import android.content.Context;

import com.android.vending.billing.IInAppBillingService;
import com.me.libgdx_test.InterfaceBilling;
import com.me.libgdx_test.ClassUnlockablePrototypes.UnlockFactory;

public class ClassAndroidBillingDirector implements InterfaceBilling{
	private final ClassAndroidBilling bill;
	private IInAppBillingService mService;
	private MainActivity activity;

	   public ClassAndroidBillingDirector(IInAppBillingService mService, MainActivity activity) {
	      // Assuming we can instantiate it like this
		   bill = new ClassAndroidBilling();
		   this.mService = mService;
		   this.activity = activity;
	   }

	   public boolean submitPurchase(String item_name, int item_payload, Object return_object, Method return_method) {
		   return bill.submitPurchase(item_name, item_payload, mService, activity, return_object, return_method);
	   }
}
